import request from '@/utils/request';
//登录
export function loginApi(data) {
  return request({
    method: 'POST',
    url: '/ipuser/login',
    data,
  });
}
//一级菜单
export function firstMenuApi(data) {
  return request({
    method: 'POST',
    url: '/menu/listFirstLevelMenuForUser',
    data,
  });
}
//二级菜单
export function otherMenuApi(data) {
  return request({
    method: 'POST',
    url: '/menu/listOthersMenuForUser',
    data,
  });
}
